package com.jie.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @Author: 杰
 * @Project :net-disk
 * @DateTime: 2024/4/17 10:53
 **/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "用户注册")
public class UserRegisterVO {

    @NotBlank(message = "用户账户不能为空")
    @ApiModelProperty(name = "name", value = "用户账户", dataType = "String")
    private String username;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(name = "password", value = "用户密码", dataType = "String")
    private String password;

    /**
     * 用户名
     */
    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty(name = "password", value = "用户密码", dataType = "String")
    private String nickname;
}
